package com.mapstruct.sample;
import java.util.List;
import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
 public interface StudentMap {

    StudentMap INSTANCE = Mappers.getMapper(StudentMap.class);

    // @Mapping(source = "birthday", target = "birthday", dateFormat = "yyyy-MM-dd")
    // @Mapping(target = "regDate")
    // @Mapping(source = "studentExt.regSource", target = "registerSource")
    // @Mapping(source = "studentExt.favorite", target = "favorite")
    // @Mapping(target = "memo", ignore = true)

    StudentDto toUserShowDTO(Student userDO);

    List<StudentDto> toUserShowDTOs(List<Student> userDOs);

}
